
package com.xgx.distqcp.Domain.Model.base;

import io.jboot.db.model.JbootModel;
import com.jfinal.plugin.activerecord.IBean;

/**
 *  Auto generated, do not modify this file.
 */
@SuppressWarnings("serial")
public class BaseDepartment<M extends BaseDepartment<M>> extends JbootModel<M> implements IBean {

	public static final String ACTION_ADD = "department:add";
	public static final String ACTION_DELETE = "department:delete";
	public static final String ACTION_UPDATE = "department:update";

	@Override
	protected String addAction() {
		return ACTION_ADD;
	}

	@Override
	protected String deleteAction() {
		return ACTION_DELETE;
	}

	@Override
	protected String updateAction() {
		return ACTION_UPDATE;
	}

	public void setID(java.lang.Integer ID) {
		set("ID", ID);
	}

	public java.lang.Integer getID() {
		return getInt("ID");
	}

	public void setName(java.lang.String Name) {
		set("Name", Name);
	}

	public java.lang.String getName() {
		return getStr("Name");
	}

	public void setTel(java.lang.String Tel) {
		set("Tel", Tel);
	}

	public java.lang.String getTel() {
		return getStr("Tel");
	}

	public void setManagerID(java.lang.Integer ManagerID) {
		set("ManagerID", ManagerID);
	}

	public java.lang.Integer getManagerID() {
		return getInt("ManagerID");
	}

	public void setManagerName(java.lang.String ManagerName) {
		set("ManagerName", ManagerName);
	}

	public java.lang.String getManagerName() {
		return getStr("ManagerName");
	}

	public void setDeptLocation(java.lang.String DeptLocation) {
		set("DeptLocation", DeptLocation);
	}

	public java.lang.String getDeptLocation() {
		return getStr("DeptLocation");
	}

}
